
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<html>
<head>
    <title>权限管理</title>
</head>
<link rel="stylesheet" href="/js/layui/css/layui.css">
<script src="/js/layui/layui.js"></script>
<script src="/js/frozen.js"></script>

<%--复选框(全选)按钮不居中解决代码--%>
<style>
    .layui-table-cell .layui-form-checkbox[lay-skin="primary"]{
        top: 50%;
        transform: translateY(-50%);
    }
</style>

<body>
<table id="frozen" lay-filter="test"></table>

<%--用户状态--%>
<script type="text/html" id="one" >

    {{#if(d.state==1){}}
    <b style="color:green">启用状态</b>
    {{# }else{}}
    <b style="color:red">冻结状态</b>
    {{#}}}

</script>
<%--账户冻结--%>
<script type="text/html" id="button">
    <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="frozen">冻结</a>
    <a class="layui-btn layui-btn-xs" lay-event="enable">启用</a>
</script>

</body>
</html>
